package org.jgs1904.tieba.service;

import org.jgs1904.tieba.entity.Post;
import org.springframework.data.domain.Page;

/**
 * @author junki
 * @date 2020/5/12 14:40
 */
public interface PostService {
    Page<Post> getPage(Post post, int pageSize, int pageNum);

    Post getOneById(Long id);

    Post add(Post post);
}
